.class public Lcom/example/m6shop/ShowLogin;
.super Landroid/app/Activity;
.source "ShowLogin.java"


# instance fields
.field h:Landroid/os/Handler;

.field m:Lmyapp/MyApp;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 20
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 21
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6shop/ShowLogin;->m:Lmyapp/MyApp;

    .line 72
    new-instance v0, Lcom/example/m6shop/ShowLogin$1;

    invoke-direct {v0, p0}, Lcom/example/m6shop/ShowLogin$1;-><init>(Lcom/example/m6shop/ShowLogin;)V

    iput-object v0, p0, Lcom/example/m6shop/ShowLogin;->h:Landroid/os/Handler;

    .line 20
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 25
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 26
    const v1, 0x7f03000f

    invoke-virtual {p0, v1}, Lcom/example/m6shop/ShowLogin;->setContentView(I)V

    .line 27
    invoke-virtual {p0}, Lcom/example/m6shop/ShowLogin;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6shop/ShowLogin;->m:Lmyapp/MyApp;

    .line 28
    iget-object v1, p0, Lcom/example/m6shop/ShowLogin;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    .line 29
    .local v0, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 30
    iget-object v1, p0, Lcom/example/m6shop/ShowLogin;->h:Landroid/os/Handler;

    invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;

    move-result-object v2

    const-wide/16 v3, 0x7d0

    invoke-virtual {v1, v2, v3, v4}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 69
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v1, 0x0

    .line 84
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    .line 86
    invoke-virtual {p0}, Lcom/example/m6shop/ShowLogin;->finish()V

    .line 89
    :cond_0
    return v1
.end method
